import request from '@/utils/request'
import {encodeParams} from '@/utils'

//分页列表
export function getPageList(data) {
  return request({
    url: '/api/storeUser?${encodeParams(data)}',
    method: 'POST',
    data
  })
}

//根据id查询
export function getById(id) {
  return request({
    url: `/api/storeUser/get/${id}`,
    method: 'GET',
  })
}

export default {getPageList,getById}
